<!-- BEGIN PAGE HEADER-->
<?php $this->load->view('partials/breadcrumb.tpl', Array('_NO_IOSS_NEW' => '1')) ?>

<!-- END PAGE HEADER-->
<!-- BEGIN PAGE CONTENT-->
<div class="row">
	<div class="col-xs-12 ">

		<!-- BEGIN SAMPLE FORM PORTLET-->
		<div class="portlet box green ">
			<?=edit_form_caption('全局设置')?>
			<div class="portlet-body form">
				<?=form_open(site_url('/settings/settings/edit_post'), Array('class'=>'form-horizontal', 'role'=>'form', 'id'=>'form_edit'))?>
					<div class="form-body">
                        <?=edit_form_uploader('home_image', set_uploader('home_image', $obj->home_image), '首页扫码背景图')?>
                        <?=edit_form_dropdown('need_auth', array('' => '是否开启实名认证方可用车...') + [ 0 => '不开启', 1 => '开启'], $obj->need_auth, '是否开启实名认证', 'class="form-control input-xs"')?>
						<?=edit_form_input('promise_amount', set_value('promise_amount', $obj->promise_amount), '保证金金额（￥）')?>
						<?=edit_form_input('promise_rate', set_value('promise_rate', $obj->promise_rate), '保证金提现费率（%）')?>
                        <?=edit_form_input('car_price_day', set_value('car_price_day', $obj->car_price_day), '默认车辆使用价格（￥）')?>
					</div>
					<?php $this->load->view('partials/submitButtons.tpl')?>
				<?=form_close()?>
			</div>
		</div>
		<!-- END SAMPLE FORM PORTLET-->
		<!-- BEGIN SAMPLE FORM PORTLET-->
	</div>
</div>
<link href="<?=image_url('/static/assets/global/plugins/jstree/dist/themes/default/style.min.css')?>" rel="stylesheet" type="text/css"/>

<script type="text/javascript">
    $(document).ready(function(){
        AjaxUploader.uploadTempUrl = "<?=site_url('/common/AjaxUpload/upload') . '/'  ?>";
        AjaxUploader.init();
        $(document).ready(function () {
            $('.img-rounded').zoomify();
        });
    });
</script>
